package com.tonyodev.fetchmigrator.fetch1;

import com.tonyodev.fetch2.Download;

/**
 * 数据实体类
 *
 * @since 2021-05-24
 */
public class DownloadTransferPair {
    private Download newDownload;
    private long oldID;

    /**
     * 构造函数
     *
     * @param newDownload 下载任务
     * @param oldID ID值
     */
    public DownloadTransferPair(Download newDownload, long oldID) {
    }

    public Download getNewDownload() {
        return newDownload;
    }

    public void setNewDownload(Download newDownload) {
        this.newDownload = newDownload;
    }

    public long getOldID() {
        return oldID;
    }

    public void setOldID(long oldID) {
        this.oldID = oldID;
    }
}
